ses-ux

(0 reviews)

POST-TMF702 transferPrimaryDeviceEsimSub

Transfer Primary Device eSIM Subscription

This operation is used to transfer Primary Device eSIM Subscription

URL
http://{host:port}/{context}/esintegration/v1.0/esim/transferPrimaryDeviceEsimSub
URL Param
nametypedescriptionrequired
contextstringContext carries the method of the resource and allowed values are post, get and patchY

Se definen las cabeceras del request a utilizar.

namevaluedescriptionrequired
x-transaction-idstringThe unique ID of this request. It is generated by the sender and the unique ID must be returned to the originator. Generally, uuid is used for the xtransaction-id.Y
Content-TypestringThe content type of the request.Y
Content-LengthstringThe content length of the
request.
Y
AcceptstringThe accepted body type in
the response.
Y
authorizationstringThe credential of SES. HTTP basic authentication and OAuth access token bearer are supported.Y
x-deviceauth-modestringThe device authorization mode.
Applicable values:
IP
AKA
GBA
OTHER
N
x-device-typestringThe device type. Applicable values:
Handheld with SIM
Handheld without SIM
Tablet with SIM
Tablet without SIM
Wearable with SIM
Wearable without SIM
Set-of-Box with SIM
Set-of-Box without SIM
Laptop with SIM
Laptop without SIM
Desktop with SIM
Desktop without SIM
Appliance with SIM
Appliance without SIM
Automotive withSIM
Automotive without SIM
Other/Unspecified with SIM
Other/Unspecified without SIM
Companion Appfor RemoteDevices
Web Client
Customer care
N
x-nsds-versionstringThe NSDS version of the device. Applicable values:
1.0: This group is determined for iOS devices.
N
Request
curl --location 'https://nonprod.esb.cloud.lla.com/dev/ses-ux/post/esintegration/v1.0/esim/transferPrimaryDeviceEsimSub' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MmZkNjE1OTlhN2U3NDFlYjk3ZDQxZDRlM2QzOWUwMGY6YTI3ZTk1NzcwNzBkNDI2MjkxNmQ4ZTc3NDI2ZTNGODE=' \
--data '{
    "oldPrimaryDeviceInfo": {
        "eid": "8986010110231170984S",
        "deviceType": "iPhone",
        "deviceVendor": "Apple",
        "osType": "iOS",
        "osVersion": "15.0",
        "carrierBundleVersion": "21.0",
        "subscriptionList": [
            {
                "primaryImsi": "460019876543210",
                "primaryMsisdn": "8613922114719",
                "iccidProfile": {
                    "imei": "356979067872692",
                    "iccid": "356935435417269",
                    "simType": 0,
                    "uiccSignatureStatus": 0
                }
            },
            {
                "primaryImsi": "460019876543211",
                "primaryMsisdn": "8613922114720",
                "iccidProfile": {
                    "imei": "356979067872693",
                    "iccid": "356935435417270",
                    "simType": 1
                }
            }
        ]
    },
    "newPrimaryDeviceInfo": {
        "eid": "8986010110231170985S",
        "deviceType": "iPhone",
        "deviceVendor": "Apple",
        "osType": "iOS",
        "osVersion": "15.0",
        "carrierBundleVersion": "21.0",
        "simAllianceProfileVersion": "2.0.0",
        "gsmaSgp22Version": "2.0.0",
        "iccidProfileList": [
            {
                "imei": "356979067872695",
                "iccid": "356935435417278"
            },
            {
                "imei": "356979067872696",
                "iccid": "356935435417279"
            }
        ]
    },
    "planInfo": {
        "operatorId": "operator A"
    },
    "transferFlowType": 1,
    "subscriberInfo": {
        "billingAccountNumber": "Account A"
    }
}'
Definitions

Each of the request parameters is detailed.

nametypedescriptionrequired
oldPrimaryDeviceInfoobjectThe old primary-device object info contains the subscription information of the old primary device.Y
oldPrimaryDeviceInfo.eidstringThe EID of the primary eSIM device.N
oldPrimaryDeviceInfo.deviceTypestringThe model of the device assigned by the device vendor.N
oldPrimaryDeviceInfo.deviceVendorstringThe vendor of the eSIM device initiates the transfer operation.N
oldPrimaryDeviceInfo.osTypestringThe specific OS type of the eSIM device, For example: iOS, Android, Windows.N
oldPrimaryDeviceInfo.osVersionstringThe specific OS version of the eSIM device.N
oldPrimaryDeviceInfo.carrierBundleVersionstringThe specific bundle version of the carrier.N
oldPrimaryDeviceInfo.subscriptionListarrayThe array of the subscriptions which have been activated on the primary eSIM device.Y
oldPrimaryDeviceInfo.subscriptionList.primaryImsistringThe IMSI of the primary device’s subscription. When the device has only one subscription, it is always mandatory. When there are multiple subscriptions on it, the UE may not send SES the subscription of the primary IMSI not associated to the current IMSI.N
oldPrimaryDeviceInfo.subscriptionList.primaryMsisdnstringThe MSISDN of the primary device’s subscription linked to the primary MSISDN.N
oldPrimaryDeviceInfo.subscriptionList.iccidProfile.objectAn array of e-UICC profiles on the new primary eSIM device to be activated. For the e-UICC profileY
oldPrimaryDeviceInfo.subscriptionList.iccidProfile.imeistringThe IMEI of the e-UICC.N
oldPrimaryDeviceInfo.subscriptionList.iccidProfile,iccidstringThe ICCID of the e-UICC.N
oldPrimaryDeviceInfo.subscriptionList.iccidProfile.simTypeintegerThe SIM type of the old UICC profile, possible
values:
0: Unknown
1: Physical SIM
2: eSIM
3: Virtual SIM
N
oldPrimaryDeviceInfo.subscriptionList.iccidProfile.uiccSignatureStatusintegerThe status of the UICC signature validation. The purpose of this validation is to prove that the SIM card to be transferred is bound to the old primary device.
Possible values:
0: Validation passes
1: Validation fails
2: UE doesn’t support validation
N
newPrimaryDeviceInfoobjectThe new primary-device object info contains the subscription information of the new primary device. The new primary device info can be an empty object if the transfer is triggered from the old device without any new device info.Y
newPrimaryDeviceInfo.eidstringThe EID of the primary eSIM device.N
newPrimaryDeviceInfo.deviceTypestringThe model of the device assigned by the device vendor.N
newPrimaryDeviceInfo.deviceVendorstringThe vendor of the eSIM device initiates the transfer operation.N
newPrimaryDeviceInfo.osTypestringThe specific OS type of the eSIM device, For example: iOS, Android, Windows.N
newPrimaryDeviceInfo.osVersionstringThe specific OS version of the eSIM device.N
newPrimaryDeviceInfo.carrierBundleVersionstringThe specific bundle version of the carrier.N
newPrimaryDeviceInfo.simAllianceProfileVersionstringA string representing the highest SIM Alliance profile version supported by the e-UICC. It is defined by the e-UICC capabilities. The minimum version supported is 2.0.0. For example, value 2.1.0 means that eUICC supports both 2.1.0 and 2.0.0N
newPrimaryDeviceInfo.gsmaSgp22VersionstringA string representing the GSMA SGP.22 specification version supported by the e-UICC.N
newPrimaryDeviceInfo.iccidProfileListarrayAn array of e-UICC profiles on the new primary eSIM device to be activated.N
newPrimaryDeviceInfo.iccidProfileList.imeistringThe IMEI of the e-UICC.N
newPrimaryDeviceInfo.iccidProfileList.iccidstringThe ICCID of the e-UICC.N
planInfoobjectThe information of the plan to be transferred.
planInfo.operatorIdstringThe specific operator identity that the plan belongs to.N
transferFlowTypeintegerWhen the transfer happens, possible values are:
1: During the new eSIM device boot up, the first-time end user set up the device.
2: After the eSIM device boot up.
N
subscriberInfoobjectThe basic information of the subscriber who triggers the operationN
subscriberInfo.billingAccountNumberstringThe account number to pay for the subscription.N

Response

[ 202 ]

success response

{}

Possible response error

In this section all the possible data structures received by the client are defined and that must be considered as unsatisfactory when responding to the method.

[ 400 ]

Bad Request - the request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

{
"error": "Invalid_Request",
"error_description": "The request is invalid, <Specific invalid parameter>."
}
[ 404 ]

Not Found - server has not found a resource with that URI. This may be temporary and permanent condition. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

{
"error": "Primary_Device_Not_Found",
"error_description": "The primary device not find in the backend system"
}
[ 500 ]

Internal Server Error - server encountered an error processing request. This should not happen normally, but it is a generic error message, given when no more specific message is suitable.

{
"error": "Internal Server Error",
"error_description": "Error when check the eSIM eligibility, <Specific error description>."
}

Reviews